﻿@model Pr0ject0.Models.QuestionModel


@{string answer = "answer_" + Model.id.ToString();
  string question = "question_" + Model.id.ToString();}
  <input type="hidden" name=@question value=@Model.question />

    <fieldset>
        <legend>QuestionModel</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.question)
        </div>

        <div class="editor-field">
            @Html.TextBox(answer)
            @Html.ValidationMessageFor(model => model.answer)
        </div>
    </fieldset>

